package com.zhangxin.easyexcelutil.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by zhangxin on 2021/1/30.
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelAnnotation {

    /**
     * java需要转换的字段值数组
     * @return
     */
    String[] java() default {};

    /**
     * 导出excel时所展示的内容数组
     * @return
     */
    String[] excel() default {};
}
